﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.OracleClient;

namespace ConfigurationManager.DataAccess
{
    public abstract class BaseResourceAccess
    {
        protected System.Data.OracleClient.OracleConnection OracleConnection
        {
            get;
            set;
        }

        public BaseResourceAccess()
        {
            string connectionString = System.Configuration.ConfigurationManager.ConnectionStrings["sinaTools"].ConnectionString;
            this.OracleConnection = new System.Data.OracleClient.OracleConnection(connectionString);
        }

    }
}
